import {
	post,
	get
} from "./request.js"
export const apiSendCode = (data) => {
	return post('sms/send/code', data, {
		'Content-Type': 'application/x-www-form-urlencoded'
	})
}

export const apiLogin = (data) => {
	return post('api/auth/2.0/login', data, {
		'x-api-v': '1.0'
	})
}